<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>登录</title>
<script type="text/javascript">
$(function(){
	$("#login_in").click(function(){
		var account=$("#account").val();
		var password=$("#password").val();
		if(password==null||password==""){
			alert("密码不能为空！");
			return;
		}else if(account==null||account==""){
			alert("帐号不能为空！");
			return;
		}
		loginForm();
	})
});
function loginForm(){
	$.post(
		"url",
		{},
		function(rm){
			alert(rm);
		
	});
}
</script>
</head>
<body>
	<div>登录</div>
	<form id="loginForm"  method="post" action="save.ht">
		<table>
			<tr>
				<td>帐号：</td>
				<td>
				<input type="text" id="account" name="account" value="${sysUser.account }"/>
				</td>
			</tr>
			<tr>
				<td>密码：</td>
				<td><input type="text" id="password" name="password" value="${sysUser.password }"/></td>
			</tr>
			<tr><td><input id="login_in" type="submit" value="提交"/></td></tr>
		</table>
	</form>
</body>
</html>